/**
 * File: BucketReadInfoController.java
 * Created by: mhaimel
 * Created on: Dec 1, 2010
 * CVS:  $Id: BucketReadInfoController.java 1.0 Dec 1, 2010 10:13:35 AM mhaimel Exp $
 */
package uk.ac.ebi.curtain.controller.general;

import java.io.File;

import uk.ac.ebi.curtain.controller.ParallelQueuedController;
import uk.ac.ebi.curtain.controller.SimpleReport;
import uk.ac.ebi.curtain.management.IControllerReport;
import uk.ac.ebi.curtain.processor.general.BucketReadInfoProcessor;

/**
 * @author mhaimel
 *
 */
public class BucketReadInfoController  extends ParallelQueuedController<File, File, BucketReadInfoProcessor> {

	@Override
	protected BucketReadInfoProcessor buildController() {
		return getContext().getInjector().getInstance(BucketReadInfoProcessor.class);
	}

	@Override
	protected IControllerReport getReturnCall() {
		return new SimpleReport("Finished creating Buckets with the node Ids!");
	}
	
}
